import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

/* 根组件 */
import { AppComponent } from './app.component';

/* 特性模块,不导入其他特性模块以用来懒加载 */
import { HomeModule } from './home/home.module';

/* 路由配置模块 */
import { AppRoutingModule } from './app-routing.module';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        AppRoutingModule,
        HomeModule
    ],
    providers: [],
    bootstrap: [AppComponent]
})
export class AppModule { }
